<#ftl output_format="XML" auto_esc=true>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="${daoUrl}.${entityName}Mapper">
    <resultMap id="BaseResultMap" type="${entityUrl}.${entityName}Entity">
    <#list cis as ci>
    <#if ci.columnKey=="pri" >
        <id column="${ci.column}" jdbcType="${ci.jdbcType}" property="${ci.property}"/>
    <#else>
        <result column="${ci.column}" jdbcType="${ci.jdbcType}" property="${ci.property}"/>
    </#if>
    </#list>
    </resultMap>
    <sql id="Base_Column_List">
        ${agile}
    </sql>

</mapper>